package com.mall.feign.clients;

import com.mall.autoconfig.interceptor.FeignInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author Pan Rundong
 * @Date 2023-03-10 15:49
 * @Desc 测试客户端，用来测试Feign功能
 */
@FeignClient(name = "mall-service-homepage")//, configuration = FeignInterceptor.class)
public interface TestClients {

    @GetMapping("/test2")
    String test();

}
